//1.定义项目经理类
// 属性：姓名 工号 工资 奖金
// 行为：工作work
// 2.定义程序员类
// 属性：姓名 工号 工资
// 行为：工作work
public class Employee {
    private String name;
    private String workId;
    public void work(){
        System.out.println("员工在工作");
    }

    public Employee() {
    }

    public Employee(String name, String workId) {
        this.name = name;
        this.workId = workId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getWorkId() {
        return workId;
    }

    public void setWorkId(String workId) {
        this.workId = workId;
    }
}
